﻿using System;

namespace AssetsSys.Dto.Assets
{
    public class AssetsResponseModel : BaseModel
    {
        /// <summary>
        /// 资产编号
        /// </summary>
        public string AssetsNum { get; set; }
        /// <summary>
        /// 资产名称
        /// </summary>
        public string AssetsName { get; set; }
        /// <summary>
        /// 资产描述
        /// </summary>
        public string AssetsDescribe { get; set; }
        /// <summary>
        /// 资产价值
        /// </summary>
        public decimal Decimal { get; set; }
        /// <summary>
        /// 资产价值(元)
        /// </summary>
        public string DecimalStr => Decimal + "元";
        /// <summary>
        /// 资产类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 建议使用年限
        /// </summary>
        public int AgeLimit { get; set; }
        /// <summary>
        /// 建议使用年限(年)
        /// </summary>
        public string AgeLimitStr => AgeLimit + "年";
        /// <summary>
        /// 资产来源
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 资产状况
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string PrincipalUser { get; set; }
        /// <summary>
        /// 负责部门
        /// </summary>
        public string PrincipalDepartment { get; set; }
        /// <summary>
        /// 入库人
        /// </summary>
        public string StorageUser { get; set; }
        /// <summary>
        /// 入库部门
        /// </summary>
        public string StorageDepartment { get; set; }
    }
}
